package oa.hleast.xswl.pojo.domain.chat;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import oa.hleast.common.base.BaseEntity;

/**
 * cms_chat_auto_reply
 *
 * @author 302
 */
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
@TableName("cms_chat_auto_reply")
public class CmsChatAutoReply extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Long id;


    /**
     * 标题
     */
    private String title;

    /**
     * 优先级
     */
    private Byte priority;

    /**
     * 匹配
     */
    private String keyComment;

    /**
     * 回复
     */
    private String reply;

    /**
     * 回复素材
     */
    private String replyAssets;

    /**
     * 删除标识  (0未删除 1已删除)
     */
    @TableLogic(value = "0", delval = "1")
    private Boolean deleted;


    /**
     * 类型
     */
    @ApiModelProperty(value = "类型(0:客服 1:智能参谋)")
    private Byte type;

}